import 'sp_utils.dart';

class SpConfig {
  String userToken = "userToken";

  String? getUserToken() => SpUtils().getString(userToken);

  void setUserToken(String value) => SpUtils().setString(userToken, value);

  String userID = "userID";

  int? getUserId() => SpUtils().getInt(userID);

  void setUserId(int value) => SpUtils().setInt(userID, value);

  String userPhone = "userPhone";

  String userPwd = "userPwd";

  String? getUserPhone() => SpUtils().getString(userPhone);

  void setUserPhone(String value) => SpUtils().setString(userPhone, value);

  String? getUserPwd() => SpUtils().getString(userPwd);

  void setUserPwd(String value) => SpUtils().setString(userPwd, value);

  String userInfo = "userInfo";

  String? getUserInfo() => SpUtils().getString(userInfo);

  void setUserInfo(String value) => SpUtils().setString(userInfo, value);

  String homeToast = "homeToast";

  bool? getHomeToast() => SpUtils().getBool(homeToast);

  void setHomeToast(bool value) => SpUtils().setBool(homeToast, value);

  String androidProduct = "androidProduct";

  String? getAndroidProduct() => SpUtils().getString(androidProduct);

  void setAndroidProduct(String value) => SpUtils().setString(androidProduct, value);

  String androidMac = "androidMac";

  String? getAndroidMac() => SpUtils().getString(androidMac);

  void setAndroidMac(String value) => SpUtils().setString(androidMac, value);

}
